<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: TimeManager::TimeManager Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_time_manager.html">TimeManager</a>      </li>
      <li class="navelem"><a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">TimeManager::TimeManager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="TimeManager::TimeManager" -->
<p><code>#include &lt;<a class="el" href="_time_manager_8h_source.html">TimeManager.h</a>&gt;</code></p>

<p><a href="class_time_manager_1_1_time_manager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#aee9b0039996756bb4801ce0ac6b14f62">~TimeManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#a6c2020aab03f63fc4f7cbd7905cdeb04">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#a9ac205ff70711c389dc20fce1a645abb">initialize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#af344a7d44dd7274d06ceea02811fa8a9">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#ac97851785c28bcf28efa4d8550759002">getCurrentStep</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#a2356bb9aa6d3830148519b6ad926a307">getCurrentResolutionStep</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#ac20f618f8db6600f1387571ec7d07904">getCurrentTime</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#a565a0edb1ff2404855d661dcb6dab79f">getTimeStep</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#aabb1419a880d305ab5bfb01f6227a47a">update</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#ad208e73a5d6369c9da3016333ad29c11">setTimeResolution</a> (const double timeStep)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#ab7e136d889466c629e80f6bd60806f05">validateTime</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#aac0d7fa5bbb2d937cc357122f1e906ea">hasResolutionStepChanged</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time_manager_1_1_time_manager.html#a8c0b5989cfea07ee472d4edc63599bc4">getInstance</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager</a> Class. Detailed Description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aee9b0039996756bb4801ce0ac6b14f62"></a><!-- doxytag: member="TimeManager::TimeManager::~TimeManager" ref="aee9b0039996756bb4801ce0ac6b14f62" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_time_manager_1_1_time_manager.html#aee9b0039996756bb4801ce0ac6b14f62">TimeManager::TimeManager::~TimeManager</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Left empty. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af344a7d44dd7274d06ceea02811fa8a9"></a><!-- doxytag: member="TimeManager::TimeManager::clear" ref="af344a7d44dd7274d06ceea02811fa8a9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_time_manager_1_1_time_manager.html#af344a7d44dd7274d06ceea02811fa8a9">TimeManager::TimeManager::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="a2356bb9aa6d3830148519b6ad926a307"></a><!-- doxytag: member="TimeManager::TimeManager::getCurrentResolutionStep" ref="a2356bb9aa6d3830148519b6ad926a307" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_time_manager_1_1_time_manager.html#a2356bb9aa6d3830148519b6ad926a307">TimeManager::TimeManager::getCurrentResolutionStep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="ac97851785c28bcf28efa4d8550759002"></a><!-- doxytag: member="TimeManager::TimeManager::getCurrentStep" ref="ac97851785c28bcf28efa4d8550759002" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_time_manager_1_1_time_manager.html#ac97851785c28bcf28efa4d8550759002">TimeManager::TimeManager::getCurrentStep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="ac20f618f8db6600f1387571ec7d07904"></a><!-- doxytag: member="TimeManager::TimeManager::getCurrentTime" ref="ac20f618f8db6600f1387571ec7d07904" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_time_manager_1_1_time_manager.html#ac20f618f8db6600f1387571ec7d07904">TimeManager::TimeManager::getCurrentTime</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="a8c0b5989cfea07ee472d4edc63599bc4"></a><!-- doxytag: member="TimeManager::TimeManager::getInstance" ref="a8c0b5989cfea07ee472d4edc63599bc4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager::TimeManager</a> * <a class="el" href="class_time_manager_1_1_time_manager.html#a8c0b5989cfea07ee472d4edc63599bc4">TimeManager::TimeManager::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Sinlgetown instance of the class. </p>

</div>
</div>
<a class="anchor" id="a565a0edb1ff2404855d661dcb6dab79f"></a><!-- doxytag: member="TimeManager::TimeManager::getTimeStep" ref="a565a0edb1ff2404855d661dcb6dab79f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_time_manager_1_1_time_manager.html#a565a0edb1ff2404855d661dcb6dab79f">TimeManager::TimeManager::getTimeStep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="aac0d7fa5bbb2d937cc357122f1e906ea"></a><!-- doxytag: member="TimeManager::TimeManager::hasResolutionStepChanged" ref="aac0d7fa5bbb2d937cc357122f1e906ea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_time_manager_1_1_time_manager.html#aac0d7fa5bbb2d937cc357122f1e906ea">TimeManager::TimeManager::hasResolutionStepChanged</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<a class="anchor" id="a9ac205ff70711c389dc20fce1a645abb"></a><!-- doxytag: member="TimeManager::TimeManager::initialize" ref="a9ac205ff70711c389dc20fce1a645abb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_time_manager_1_1_time_manager.html#a9ac205ff70711c389dc20fce1a645abb">TimeManager::TimeManager::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize currentStep_, currentTime_, currentResolutionStep_, totalTime_ and resolutionStepHasChanged_. </p>

</div>
</div>
<a class="anchor" id="a6c2020aab03f63fc4f7cbd7905cdeb04"></a><!-- doxytag: member="TimeManager::TimeManager::setParameters" ref="a6c2020aab03f63fc4f7cbd7905cdeb04" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_time_manager_1_1_time_manager.html#a6c2020aab03f63fc4f7cbd7905cdeb04">TimeManager::TimeManager::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize totalSteps_ and timeStep_. </p>

</div>
</div>
<a class="anchor" id="ad208e73a5d6369c9da3016333ad29c11"></a><!-- doxytag: member="TimeManager::TimeManager::setTimeResolution" ref="ad208e73a5d6369c9da3016333ad29c11" args="(const double timeStep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_time_manager_1_1_time_manager.html#ad208e73a5d6369c9da3016333ad29c11">TimeManager::TimeManager::setTimeResolution</a> </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>timeStep</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set Time Resolution. </p>

</div>
</div>
<a class="anchor" id="aabb1419a880d305ab5bfb01f6227a47a"></a><!-- doxytag: member="TimeManager::TimeManager::update" ref="aabb1419a880d305ab5bfb01f6227a47a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_time_manager_1_1_time_manager.html#aabb1419a880d305ab5bfb01f6227a47a">TimeManager::TimeManager::update</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="ab7e136d889466c629e80f6bd60806f05"></a><!-- doxytag: member="TimeManager::TimeManager::validateTime" ref="ab7e136d889466c629e80f6bd60806f05" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_time_manager_1_1_time_manager.html#ab7e136d889466c629e80f6bd60806f05">TimeManager::TimeManager::validateTime</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>TimeManager/<a class="el" href="_time_manager_8h_source.html">TimeManager.h</a></li>
<li>TimeManager/<a class="el" href="_time_manager_8cpp.html">TimeManager.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:42 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
